package metalink;

import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;

import myutil.Connect;

import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.*;

public class Confirmation extends ActionSupport {
	long cid;
	String site;

	public String execute() {
		String query="";
		try {
			Connect c = new Connect();
			c.site=site;
			setSite(site);
			setCid(cid);
			return SUCCESS;
		} catch (Exception e) {
			e.printStackTrace();
			return ERROR;
		}
	}

	public long getCid() {
		return cid;
	}

	public void setCid(long cid) {
		this.cid = cid;
	}
	public String getSite() {
		return site;
	}

	public void setSite(String site) {
		this.site = site;
	}
	
}
